package io.mya.modules.customer.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import io.mya.modules.customer.entity.BankCardEntity;
import io.mya.modules.customer.entity.CustomerEntity;
import io.mya.modules.customer.entity.ZtreeEntity;
import io.mya.modules.sys.dao.BaseDao;

@Mapper
public interface CustomerDao extends BaseDao<CustomerEntity>{

	List<ZtreeEntity> findchByID(Long id);

	CustomerEntity findByiD(Long id);

	List<BankCardEntity> queryBankCard(Long id);

	BankCardEntity queryBankCardById(Long carid);

	void updateBank(BankCardEntity bankCardEntity);

}
